package com.cictec.middleware.tde.rm.protocol.rm.message;

import java.util.Date;

import com.cictec.middleware.tde.rm.protocol.TerminalMessage;

/**
 * 【0xCB】 下发报站文件,ftp模式
 * @author Administrator
 *
 */
public class Rm0xCBPlatformMessage extends TerminalMessage {

	/** */
	private static final long serialVersionUID = -135750364415973968L;

	public Rm0xCBPlatformMessage(Header header) {
		super(header);
	}

	private Date createTime;// 数据产生时间
	private int updateType;// 升级类型
	private int deviceModelLengh;// 设备型号长度
	private String deviceModel;// 设备型号
	private int sessIdLength;// 会话id长度
	private String sessId;// 会话id
	private String Address;// ftp的ip地址
	private String Port;// ftp端口
	private int ftpUserLength;// ftp用户名长度
	private String ftpUser;// ftp用户名
	private int ftpPassWordLengh;// ftp密码长度
	private String ftpPassWord;// ftp密码
	private int fileCatalogLength;// 文件目录长度
	private String fileCatalog;// 文件目录
	private int fileNameLength;// 文件名称长度
	private String fileName;// 文件名称
	private long fileDownLoadTime;// 文件下载时间
	private long fileUpdateTime;// 文件定时升级时间
	private long crc;// 文件crc32校验码
	private int reserved;

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getUpdateType() {
		return updateType;
	}

	public void setUpdateType(int updateType) {
		this.updateType = updateType;
	}

	public int getDeviceModelLengh() {
		return deviceModelLengh;
	}

	public void setDeviceModelLengh(int deviceModelLengh) {
		this.deviceModelLengh = deviceModelLengh;
	}

	public String getDeviceModel() {
		return deviceModel;
	}

	public void setDeviceModel(String deviceModel) {
		this.deviceModel = deviceModel;
	}

	public int getSessIdLength() {
		return sessIdLength;
	}

	public void setSessIdLength(int sessIdLength) {
		this.sessIdLength = sessIdLength;
	}

	public String getSessId() {
		return sessId;
	}

	public void setSessId(String sessId) {
		this.sessId = sessId;
	}

	public String getAddress() {
		return Address;
	}

	public void setAddress(String address) {
		Address = address;
	}

	public String getPort() {
		return Port;
	}

	public void setPort(String port) {
		Port = port;
	}

	public int getFtpUserLength() {
		return ftpUserLength;
	}

	public void setFtpUserLength(int ftpUserLength) {
		this.ftpUserLength = ftpUserLength;
	}

	public String getFtpUser() {
		return ftpUser;
	}

	public void setFtpUser(String ftpUser) {
		this.ftpUser = ftpUser;
	}

	public int getFtpPassWordLengh() {
		return ftpPassWordLengh;
	}

	public void setFtpPassWordLengh(int ftpPassWordLengh) {
		this.ftpPassWordLengh = ftpPassWordLengh;
	}

	public String getFtpPassWord() {
		return ftpPassWord;
	}

	public void setFtpPassWord(String ftpPassWord) {
		this.ftpPassWord = ftpPassWord;
	}

	public int getFileCatalogLength() {
		return fileCatalogLength;
	}

	public void setFileCatalogLength(int fileCatalogLength) {
		this.fileCatalogLength = fileCatalogLength;
	}

	public String getFileCatalog() {
		return fileCatalog;
	}

	public void setFileCatalog(String fileCatalog) {
		this.fileCatalog = fileCatalog;
	}

	public int getFileNameLength() {
		return fileNameLength;
	}

	public void setFileNameLength(int fileNameLength) {
		this.fileNameLength = fileNameLength;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public long getFileDownLoadTime() {
		return fileDownLoadTime;
	}

	public void setFileDownLoadTime(long fileDownLoadTime) {
		this.fileDownLoadTime = fileDownLoadTime;
	}

	public long getFileUpdateTime() {
		return fileUpdateTime;
	}

	public void setFileUpdateTime(long fileUpdateTime) {
		this.fileUpdateTime = fileUpdateTime;
	}

	public long getCrc() {
		return crc;
	}

	public void setCrc(long crc) {
		this.crc = crc;
	}

	public int getReserved() {
		return reserved;
	}

	public void setReserved(int reserved) {
		this.reserved = reserved;
	}

}
